package com.flower.subject.domain.convent;

import com.flower.subject.domain.entity.SubjectCategoryBO;
import com.flower.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-03 11:34
 */
@Mapper
public interface SubjectCategoryConverter {
    SubjectCategoryConverter INSTANT = Mappers.getMapper(SubjectCategoryConverter.class);

    SubjectCategory convertBoTOCategory(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> convertBoTOCategory(List<SubjectCategory> categories);


}
